package com.example.safeassistan.risk.model;

import java.util.List;

public class RiskPointPersonModel {


    /**
     * success : true
     * message : 操作成功！
     * code : 200
     * result : [{"id":"111","userId":"e9ca23d68d884d4ebb19d07889727dae","realname":"管理员","status":1,"departName":"测试工厂","avatar":"https://static.jeecg.com/temp/国炬软件logo_1606575029126.png"}]
     * timestamp : 1618542332907
     */

    private Boolean success;
    private String message;
    private Integer code;
    private Long timestamp;
    private List<ResultDTO> result;

    public Boolean isSuccess() {
        return success;
    }

    public void setSuccess(Boolean success) {
        this.success = success;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public Long getTimestamp() {
        return timestamp;
    }

    public void setTimestamp(Long timestamp) {
        this.timestamp = timestamp;
    }

    public List<ResultDTO> getResult() {
        return result;
    }

    public void setResult(List<ResultDTO> result) {
        this.result = result;
    }

    public static class ResultDTO {
        /**
         * id : 111
         * userId : e9ca23d68d884d4ebb19d07889727dae
         * realname : 管理员
         * status : 1
         * departName : 测试工厂
         * avatar : https://static.jeecg.com/temp/国炬软件logo_1606575029126.png
         */

        private String id;
        private String userId;
        private String realname;
        private Integer status;
        private String departName;
        private String avatar;

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getUserId() {
            return userId;
        }

        public void setUserId(String userId) {
            this.userId = userId;
        }

        public String getRealname() {
            return realname;
        }

        public void setRealname(String realname) {
            this.realname = realname;
        }

        public Integer getStatus() {
            return status;
        }

        public void setStatus(Integer status) {
            this.status = status;
        }

        public String getDepartName() {
            return departName;
        }

        public void setDepartName(String departName) {
            this.departName = departName;
        }

        public String getAvatar() {
            return avatar;
        }

        public void setAvatar(String avatar) {
            this.avatar = avatar;
        }
    }
}
